package cn.lzx;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * Created by lizhenxing on 2017/6/15.
 */
@EnableAspectJAutoProxy
@SpringBootApplication
public class Bootstrap {

    public static ConfigurableApplicationContext start() {
        return  SpringApplication.run(Bootstrap.class);
    }

}
